package kr.hkit.powerjava.chapter11;

public class Car {
	int speed;
	int gear;
	public String color;
	
	public void speedUp(int increment){
		speed += increment;
	}
	public void speedDown(int decrement){
		speed -= decrement;
	}
	public void gear(int gear) {
		this.gear = gear;
	}
}
